package com.sz.admin.system.pojo.vo.filemonitor;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 文件监控VO
 *
 * @author sz-admin
 * @since 2025-01-13
 */
@Data
@Schema(description = "文件监控VO")
public class SysFileMonitorVO {

    @Schema(description = "监控ID")
    private Long id;

    @Schema(description = "监控路径")
    private String monitorPath;

    @Schema(description = "存储目录")
    private String storageDir;

    @Schema(description = "监控状态（1:启用 0:停用）")
    private String status;

    @Schema(description = "文件类型过滤")
    private String fileTypes;

    @Schema(description = "最大文件大小（字节）")
    private Long maxFileSize;

    @Schema(description = "是否删除源文件（1:是 0:否）")
    private String deleteSource;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "处理文件总数")
    private Long processedCount;

    @Schema(description = "成功处理数")
    private Long successCount;

    @Schema(description = "失败处理数")
    private Long failureCount;

}